package com.ops.uitl.tapestry;

import org.apache.tapestry.IRequestCycle;
import org.apache.tapestry.engine.BaseEngine;

public class AppEngine extends BaseEngine {
	
	public static final String EXCEPTION_PAGE = "component.Excedesc";
	public static final String STALE_SESSION_PAGE = "component.Timeout";
	
	/**
	 * get exception page name
	 */
	protected String getExceptionPageName() {
		return EXCEPTION_PAGE;
	}
	
	/**
	 * get stale session page name
	 */
	protected String getStaleSessionPageName() {
		return STALE_SESSION_PAGE;
	}
	
	/**
	 * cleanup after request
	 * @param cycle
	 */
	protected void cleanupAfterRequest(IRequestCycle cycle) {
		super.cleanupAfterRequest(cycle);
	}

}
